<%@ page contentType="text/html; charset=UTF-8"%>
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/"; 
%> 
<head> 
<!-- base需要放到head中 --> 
<base href=" <%=basePath%>"> 
</head> 
<script type="text/javascript">
  function onComplete(){
	parent.location.href= document.getElementById("basePath").value+"login.action";
	parent.parent.location.href=document.getElementById("basePath").value+"login.action";
  	location.href=document.getElementById("basePath").value+"login.action" ;
  }
	
</script>
<body onload="onComplete()">
<input type="hidden" id="basePath" value="<%=basePath%>">
</body>